/*
 * Created on Nov 22, 2005
 *
 */
package org.mushroomdb.security.jaas;

import javax.security.auth.Subject;

import org.mushroomdb.service.Service;

/**
 * @author mchiodi
 *
 */
public class JAASService implements Service {

	public Subject getDboSubject() {
		Subject subject = new Subject();
		subject.getPrincipals().add(new MushroomPrincipal("dbo"));
		return subject;
	}
	
	/**
	 * @see org.mushroomdb.service.Service#initialize()
	 */
	public void initialize() {
		// TODO Auto-generated method stub
	}

}
